<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>019-2D变换_多重变换</title>
		<style>
			.outer {
				width: 200px;
				height: 200px;
				border: 2px solid black;
				margin: 100px auto;
			}

			.inner {
				width: 200px;
				height: 200px;
				background-color: skyblue;
				/* 缩放过后，位移的坐标系，还是参照缩放前的坐标系进行位移 */
				transform: scale(0.5) translate(100px, 100px);
				/* 注意：多重变化时，最好把【旋转】放到最后 */
			}
		</style>
	</head>
	<body>
		<div class="outer">
			<div class="inner">你好啊</div>
		</div>
	</body>
</html>
